Today we'll consider services in angular on the example of $http service. $http is one of the powerful and important services in angular. It lets developer to communicate with server. Also it helps to make cross domain requests. In some cases services are similar on...
Tutorials
Angular filters. Create your own filters
In this tutorial we'll discuss filters in angular. Angular has got several build-in filters. Also we will create our custom filter with filter method. There are the list of build-in filters below: uppercase formats string to uppercase. lowercase formats string to...
Angular js. Form validation
In this tutorial we will consider form validation with angular. The main advantage of using angular to validate form is simplicity and fast implementation. While making validation you need some important steps. First of all you need to add name attribute to form....
Angular js. Pass data from form to model
We will continue to build our angular app, Today we will realize adding data from form to model. To make adding data to model from form with angular we need to do this steps: adding angula directive ng-click to element which data will send to controller while click...
Angular js. Modules, directives, controllers, expressions, MVC
In last lesson. Today we begin to build simple angular app, while discussing the basic concepts - directives, modules, expressions, controllers, and shortly consider approach to build apps - MVC (Model-View-Controller). Let's discuss key definitions of this lesson:...
Intro to angular js
In this lesson we will begin to learn angular javascript framework. In our time there are a lot of javascript frameworks. Now there are three major frameworks: angular js, react js and vue js Now angular is supported by Google. React js is facebook product. Now let's...
Cookie and SQL injections
In this lesson we'll consider COOKIE, which is similar with SESSIONS. Also we'll discuss problem with safety - SQL injections. COOKIE is similar with SESSIONS. You can store any data of application in cookie. But what is difference between cookie and session? Cookie...
PHP sessions
Today we will discuss sessions in php. It helps browser to identify user in different pages. We will apply session in our web application. First of all we call session_start function, which starts session. It is very important, that this function must be called before...
Build CRUD Application PHP & Mysql. Remove information from application
In this lesson we'll finish building web application. We only need to write function for delete data. We will use similar approach while writing function for delete. We need not any form for delete....