We can use angular with any technology like MVC,web page,web forms or normal HTML.
Angular js is mainly base on HTML and JS
Angular advantages:
But use this framework only if required.
http://www.c-sharpcorner.com/UploadFile/302f8f/Asp-Net-mvc-5-with-angularjs-part-1/
https://code.msdn.microsoft.com/Aspnet-MVC-Sample-using-a5ee35e2
http://www.dotnetfunda.com/articles/show/3202/single-page-application-example-download
http://techfunda.com/howto/angularjs/single-page-application
http://www.infragistics.com/community/blogs/dhananjay_kumar/archive/2015/05/13/how-to-use-angularjs-in-asp-net-mvc-and-entity-framework-4.aspx
http://www.c-sharpcorner.com/UploadFile/rahul4_saxena/single-page-application-spa-using-angularjs-web-api-and-m/
https://www.codeproject.com/Articles/1044334/jQuery-Vs-AngularJS-A-Good-Comparison
Angular js is mainly base on HTML and JS
Angular advantages:
- Two-way data binding i.e Model to View or View to Model
- Testing
- Can use dependency injection
- Angular Directive
- Templating
- RESTful api handling
- modularization
- AJAX handling
- Validation
- filtering of data
AngularJS lets you extend HTML with new attributes called Directives.
ng-app :directive initializes an AngularJS application.root element of an application
ng-init :directive initializes application data.
ng-model : binds the value of HTML controls to application data.
ng-bind: Binds the content of an HTML element to application data.
ng-value: An expression that will set the element's value attribute.
Event type
ng-blur : An expression to execute when an element loses focus.
ng-change : An expression to execute when an element's value changes
ng-checked :expression that will set the element's checked attribute if it returns true.
ng-class:An expression that returns one or more class names.
ng-click:An expression to execute when an element is clicked.
ng-copy:An expression to execute when the text of an element is being copied.
ng-mousedown Specifies a behavior on mousedown events.
ng-mouseenter Specifies a behavior on mouseenter events.
ng-mouseleave Specifies a behavior on mouseleave events.
ng-mousemove Specifies a behavior on mousemove events.
ng-mouseover Specifies a behavior on mouseover events.
ng-mouseup Specifies a behavior on mouseup events.
http://www.c-sharpcorner.com/UploadFile/302f8f/Asp-Net-mvc-5-with-angularjs-part-1/
https://code.msdn.microsoft.com/Aspnet-MVC-Sample-using-a5ee35e2
http://www.dotnetfunda.com/articles/show/3202/single-page-application-example-download
http://techfunda.com/howto/angularjs/single-page-application
http://www.infragistics.com/community/blogs/dhananjay_kumar/archive/2015/05/13/how-to-use-angularjs-in-asp-net-mvc-and-entity-framework-4.aspx
http://www.c-sharpcorner.com/UploadFile/rahul4_saxena/single-page-application-spa-using-angularjs-web-api-and-m/
https://www.codeproject.com/Articles/1044334/jQuery-Vs-AngularJS-A-Good-Comparison
No comments:
Post a Comment