Tuesday, 29 March 2016
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.
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
Subscribe to:
Posts (Atom)