Skip to main content

Posts

Showing posts from April, 2016

Getting started with AngularJS.

Getting started with AngularJS. In this article I am going to demonstrate about how to create basic AngularJS application. In this demo application our main concern will be on creating first AngularJS application using module, Directives, Expressions. What is Angular JS? A client-side JavaScript Framework for adding interactivity to HTML. If you’re using JavaScript to create a dynamic website, Angular is a good choice. •Angular helps you organize your JavaScript •Angular helps create responsive (as in fast) websites. •Angular plays well with jQuery •Angular is easy to test Directives A Directive is a marker on a HTML tag that tells Angular to run or reference some JavaScript code. Modules •Where we write pieces of our Angular application. •Makes our code more maintainable, testable, and readable. •Where we define dependencies for our app. var app = angular.module('company', []); In above line angular is ref of Angula...