Tuesday, 29 March 2016

Simple Crud Operation Using AngularJS.

A step by step and simple demonstration of doing the crud operation in AngularJS.
Create a simple form like  below.

1.       Defined the Ng-App and Ng-Controller at top.

Tuesday, 22 March 2016

Custom Filter in AngularJS

1. What is Filter in AngularJS.
AngularJs provide the in build filter which will modify your output. There are  certain inbuilt filters like.
LowerCase : which will change the output as lower case.
Upper Case : which will change the output as Upper case
Number : which will change it to number type.
Currency : Convert out put to currency type.

On the same line AngularJS give the facility to extend the filter and we can create our own custom filter.

2. What is Custom Filters.
Create your own filter to modify the output.
Lets see the two type of custom filter in AngularJs which is very simple to understand and Helpful to know of the custom filter will create.

Sunday, 6 March 2016

Top 30 angularjs interview questions

1.       What is AngularJs?
AngularJs is a JavaScript framework which we use to create highly scalable client application & simplifies the binding of JS object with HTML elements. It extends the syntax of HTML to express application components. It extends the HTML extension using the attributes e.g. ng-
<div ng-app>
Angular JS provides many attributes which extend the feature but all of them start with ng-.

2.       What is the key features of AngularJs
AngularJs come with lots of flexibility and features like:
a.       Two way data bindings
b.      Scope
c.       Follow MVC patterns
d.      Injectable Types (like Service, factory, Providers)
e.      Directive
f.        Filters