angular controller example
In this example , I am taking a table which is populated by angular people object and in each row there is a button , when user press a button respective row data will be displayed at below of table. First Name Last Name {{person.firstName}} {{person.lastName}}...
AngularJS Modules Real World Example
Using AngularJS we can easily divide your front-end source code into reusable components, called modules. An AngularJS module is just a container that groups together different components of your application under a common name. Modules are used to isolate logics like...
WebApi Example With Cross Origin Support
Step1 : Create New Project Go to File > New > Project > Select asp.net web application > Entry Application Name > Click OK >Select Empty Template > Check Web API CheckBox > > OK Some Snap Shots of above procedure are given below. Step2 : Add Database Table (Here...
Creating Custom Directives in AngularJS with example
Directives can be used in four ways As elements: As attributes: As classes: As comments : Usually we use directives as elements and attributes. Let’s see that how we can create directives using an example In above example we created a angular...