Category: AngularJS

The ng-show and hide directives are used to show or hide the HTML element according to the condition. This is useful while creating an AngularJS application.

In jQuery, it is done with show() and hide() methods or with css() method.

ng-show and hide directives in AngularJS

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

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

AngularJS

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

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…

AngularJS