How to use ng-include Directive in AngularJS

In HTML you cannot embed one HTML page within another HTML page. In PHP, there is include or require statement for it which takes the file name as a parameter and embed the file at the specified location.

Similarly, in AngularJS there is the ng-include directive that allows us to embed existing HTML pages within another HTML page.

How to use ng-include Directive in AngularJS

Read more

Modules and Controllers in AngularJS

Modules and controller is an important part of the AngularJS application.

A module is a container where functionality of the application is defined.

Controller belongs to the module where all logical part is done and updates the views.

Modules and Controllers in AngularJS

Read more

How to use AngularJS on the Webpage

AngularJS is a JavaScript MVC framework that use to build the single page web application but you can use it build any type of web application and use its features like – two-way data binding, templating, AJAX handling, etc.

If you are already using jQuery in your project then you can use AngularJS as a replacement or use both of them in the web application.

In this tutorial, I create a simple example to show how you can use it on your web page.

How to use AngularJS on the Webpage

Read more

What is AngularJS ?

AngularJS is a JavaScript MVC framework  developed by Google that lets you build well structured, easily testable,  declarative and maintainable front-end applications which provides solutions to  standard infrastructure concerns. The one popular JavaScript framework we know is jQuery. This would be sufficient when we are creating normal web applications to manipulate the DOM.  Using jQuery … Read more