Use ng-include, you can fetch, compile, and include an external HTML fragment into your current application. For example, your main […]
Updated on Kisan Patel
In this tutorial, we look into client-side routing with hashed URLs. Rather than including multiple templates in the view, we can […]
Updated on Kisan Patel
Validating HTML form controls and providing validation messages to users is very important. To provide the best experience, users should […]
Updated on Kisan Patel
AngularJS provide a nice form API that, not only lets you bind form controls to scope models, but also allows […]
Updated on Kisan Patel
AngularJS $resource service creates a resource object that allows us to intelligently work with RESTful server-side data sources. The $resource […]
Updated on Kisan Patel
The $http service handles AJAX requests via the browser’s XMLHttpRequest object or via JSONP. The $http service is a function […]
Updated on Kisan Patel
Services provide a method for us to keep data around for the lifetime of the app and communicate across controllers […]
Updated on Kisan Patel
AngularJS Scope.$watch function can be used to react on a model change to trigger some further actions. The $watch function […]
Updated on Kisan Patel
The ng-click directive defines an AngularJS click event. Here, we need to use the ng-show or ng-hide directive in conjunction […]
Updated on Kisan Patel
Filters help to filter or format the data to be displayed to the users. Here, is how you can apply […]
Updated on Kisan Patel