Search example
Showing posts with label angular tutorial. Show all posts
Showing posts with label angular tutorial. Show all posts

Tutorial 15 – How to use ng-init in AngularJS

How to use ng-init in AngularJS?

Directive ng-init in AngularJS
This sample will help you know about using ng-init in AngularJS.

Tutorial 14 – how to use ng-repeat-start and ng-repeat-end in AngularJS

How to use ng-repeat-start and ng-repeat-end in AngularJS?

This sample will help you know about using ng-repeat-start and ng-repeat-end in AngularJS.

Tutorial 13 – how to use ng-repeat in AngularJS

How to use ng-repeat in AngularJS?

This sample will help you know about using ng-repeat in AngularJS.

Tutorial 12 – How to use ng-show and ng-hide in AngularJS

How to use ng-show and ng-hide in AngularJS
This sample will help you know about using ng-show and ng-hide in AngularJS.

Tutorial 10 – how to use input via a time type in AngularJS

How to use input via a time type in AngularJS?

This sample will help you know easy about using input via time type.

Tutorial 9 – how to use input via a date type in AngularJS

Tutorial 9 – how to use input via a date type in AngularJS
This sample will help you know easy about using input via date type.

Tutorial 7 - ng-bind-html and ng-bind-template in AngularJS

Sample to know how to use ng-bind-html and ng-bind-template in AngularJS

Have two other binding type to bind data in angularjs. Please do following sample for detail

ng-bind-html and ng-bind-template example

Tutorial 6 - ng-bind in AngularJS

How to use ng-bind directive?
Directive ng-bind in AngularJS make binding data to a element.
Run following code to know how it bind.


Tutorial 5 - ng-model in AngularJS

Tutorial 5 - ng-model in AngularJS
Ng-model is directive in AngularJS, used to link data between server and client throught controller.
How to define an ng-model in HTML?
You can add ng-model directive to a HTML tag
Example:
<input ng-model="val" class="my-input" />

Full HTML sample for ng-model.

Tutorial 4 - rootScope in controller

Tutorial 4 - $rootScope in controller

$rootScope is parent of a $scope, with $rootScope we can access data from a Controller to  other Controllers.


Tutorial 3 - $sope in controller

Tutorial 3 - $sope in controller
$scope is an object data storage bridge, or we can understand it as a data warehouse which other objects as Controller, Service will use and exchange of information through it.

How to define a $scope in Javascript?

Tutorial 2 - ng-controller in AngularJS

In AngularJS, an applications are controlled by controllers.
The ng-controller directive defines the application controller.
One ng-app have one more ng-controller

How to define a controller Javascript?

Tutorial 1 - ng-app directive in AngularJS


The ng-app directive is placed at the root element in a application, example: in the <html> tag, <body> tag or in root of master page ...

How to define ng-app in  javascript ?

Popular Posts