Level 5 Level 7
Level 6

AngularJS Core Module Components


58 words 0 ignored

Ready to learn       Ready to review

Ignore words

Check the boxes below to ignore/unignore words, then click save at the bottom. Ignored words will never appear in any learning session.

All None

Ignore?
lowercase
Converts the specified string to lowercase.
uppercase
Converts the specified string to uppercase.
forEach
Invokes the iterator function once for each item in a collection, which can be either an object or an array.
extend
Extends the destination object by copying own enumerable properties from the source object to destination.
merge
Deeply extends the destination object by copying own enumerable properties from the source object to destination.
noop
A function that performs no operations.
identity
A function that returns its first argument.
isUndefined
Determines if a reference is undefined.
isDefined
Determines if s reference is defined.
isObject
Determines if a reference is an Object. Null is not considered an Object.
isString
Determines if a reference is a String.
isNumber
Determines if a reference is a Number.
isDate
Determines if a value is a Date.
isArray
Determines if a value is an Array.
isFunction
Determines if a reference is a Function.
isElement
Determines if a reference is a DOM element (or wrapped jQuery element).
copy
Creates a deep copy of source, which should be an object or an array.
equals
Determines if two objects or two values are equivalent.
bind
Returns a function which calls a function bound to self.
toJson
Serializes input into a JSON-formatted string.
fromJson
Deserializes a JSON string.
bootstrap
Use this function to manually start up angular application.
reloadWithDebugInfo
Use this function to reload the current application with debug information turned on.
injector
Creates an injector object that can be used for retrieving services as well as for dependency injection.
module
The angular.module is a global place for creating, registering, and retrieving Angular modules.
two way data binding
Explain what are the key features of Angular.js ?
Explain what is scope in Angular.js ?
Scope refers to the application model, it acts like glue between application controller and the view.
Explain what is services in Angular.js ?
In angular.js services are the singleton objects or functions that are used for carrying out specific tasks.
Explain what is Angular Expression? Explain what is key difference between angular expressions and JavaScript expressions?
Like JavaScript, Angular expressions are code snippets that are usually placed in binding such as {{ expression }}
Explain what are directives ? Mention some of the most commonly used directives in Angular.js application ?
directive is something that introduces new syntax, they are like markers on DOM element which attaches a special behavior.
Explain what Angular JS routes does ?
Url mapping to a view or state.
Explain what is data binding in Angular.js ?
Automatic synchronization of data between the model and view components
Explain what is string interpolation in angular.js ?
The compiler during the compilation process matches text and attributes using interpolate service to see if they contains embedded expressions. As part of normal digest cycle these expressions are updated and registered as watches.
Compilation of HTML process occurs in following ways
Mention the steps for the compilation process of HTML happens?
Explain what is directive and Mention what are the different types of Directive?
During compilation process when specific HTML constructs are encountered a behaviour or function is triggered, this function is referred as directive. It is executed when the compiler encounters it in the DOM.
Explain what is linking function and type of linking function?
Link combines the directives with a scope and produce a live view. For registering DOM listeners as well as updating the DOM, link function is responsible. After the template is cloned it is executed.
Explain what is injector?
An injector is a service locator. It is used to retrieve object instances as defined by provider, instantiate types, invoke methods and load modules. There is a single injector per Angular application, it help…
Explain what is the difference between link and compile in angular.js?
Compile function: it is Used for template DOM manipulation and collect all of the directives.
Explain what is factory method in angular.js?
For creating the directive, factory method is used. It is invoked only once, when compiler matches the directive for the first time. By using $injector.invoke the factory method is invoked.
Mention what are the characteristics of "Scope"?
- To observer model mutations scopes provide APIs ($watch)
Advantages of using Angular.js as framework are
Mention what are the advantages of using Angular.js framework ?
Explain the concept of scope hierarchy? How many scope can an application have?
Each angular application consist of one root scope but may have several child scopes. As child controllers and some directives create new child scopes, application can have multiple scopes. When new scopes are forme…
Explain what is the difference between angular.js and backbone.js?
Angular.js combines the functionalities of most of the 3rd party libraries, it supports individual functionalities required to develop HTML5 Apps. While Backbone.js do their jobs individually.
dependency injections
is what happens in the fallowing code
ng-model
ng-model is a directive that only works with input tags. It creates data-binding with the input filed and the name it is asigned to
remove($index)
when you for in a element in angular you can delete a certain element with remove($index)
ng-bind
is a long hand for {{greeting}}
ng-click and ng0dblclick
are just like onclick or ondbclick
ng-repeat
repeats through array to duplicate elements
ng-show ng-hide
They show or hide the content through directive.
ng-classes
ng-class="{error:isError, warning: isWarning}"
ng-src="" ng-href =""
is the way to data bind the src and href to the $scope
controller inherantance
so passically controller act just like javascript function where they inherant from there parents.
$watch
notifices you when your part of your model has change
ng-hide
What are the DOM Manipualtion Angular JS Commands
ng-app
What are the Modules/Controllers Manipualtion Angular JS Commands
ng-click
What are the Events Manipualtion Angular JS Commands
element
Selects all elements with the given tag name.