Please enable Javascript to correctly display the contents on Dot Net Tricks!

Dot Net Tricks Tutorial - For Beginners & Professionals

.net article,c# tutorial,asp.net tutorial,linq tutorial,wcf tutorial,mvc tutorial,entity framework tutorial,sqlserver tutorial,jquery tutorial,visual studio tutorial
 
Author : Shailendra Chauhan
Posted On : 29 Dec 2014

Scope data goes through a life cycle when the angular app is loaded into the browser. Understanding the scope life cycle will help you to understand the interaction between scope and other AngularJS components.

 

 

Author : Shailendra Chauhan
Posted On : 29 Dec 2014

AngularJS data-binding is the most useful feature which saves you from writing boilerplate code (i.e. the sections of code which is included in many places with little or no alteration).

 

 

Author : Shailendra Chauhan
Posted On : 29 Dec 2014

The $scope object used by views in AngularJS are organized into a hierarchy. There is a root scope, and the $rootScope can has one or more child scopes.

 

 

Author : Shailendra Chauhan
Posted On : 26 Dec 2014

AngularJS is automatically initialized for one module. But sometimes, it is required to bootstrap for multiple modules and it can be achieved by using two methods:

 

 

Author : Shailendra Chauhan
Posted On : 26 Dec 2014

jQLite is a subset of jQuery that is built directly into AngularJS. jQLite provides you all the useful features of jQuery. In fact it provides you limited features or functions of jQuery.

 

 

Author : Shailendra Chauhan
Posted On : 26 Dec 2014

Angular initializes automatically upon DOMContentLoaded event or when the angular.js script is downloaded to the browser and the document.readyState is set to complete. At this point AngularJS looks for the ng-app directive which is the root of angular app compilation and tells about AngularJS part within DOM.

 

 

Author : Shailendra Chauhan
Posted On : 25 Nov 2014

It is Google’s new fancy UIs for the web. It is based on Google's Material Design. As per Google, "Material Design is a specification for a unified system of visual, motion, and interaction design that adapts across different devices. Our goal is to deliver a lean, lightweight set of AngularJS-native UI elements that implement the material design system for use in Angular SPAs."

 

 

Author : Shailendra Chauhan
Posted On : 19 Sep 2014

Visual studio provides you intellisense support for various programming languages and scripts. It helps a lot while programming with Visual Studio IDE. By default Visual Studio doesn't provide us the Ionic intellisense support. I did some googling over net and found a useful resource which helps you to enable intellisense in visual studio.

 

 

Author : Shailendra Chauhan
Posted On : 16 Sep 2014

Routing is a mechanism which helps you to divide your single page application into multiple views and bind these views to corresponding controllers. In this article, you will learn how to configure angular routing.

 

 

Author : Shailendra Chauhan
Posted On : 15 Sep 2014

In Angular, templates are the views with the HTML enriched by Angular elements like directive and attributes. Templates are used to display the information from the model and controller that a user sees in his browser. An angular templates can have Directive, HTML markup, CSS, Filters, Expressions and Form controls.

 

 

Author : Shailendra Chauhan
Posted On : 11 Sep 2014

AngularJS directives extend the HTML elements with new behaviors. AngularJS directive help you to manipulate HTML elements, handle event, perform data binding, associate controllers/scope with a view and many more things. AngularJS provide you some built-in directives like as ng-app, ng-controller, ng-repeat, ng-model etc. to make it easy.

 

 

Author : Shailendra Chauhan
Posted On : 10 Sep 2014

Scope is an object that refers to the application model. It acts as a context for evaluating expressions. Typically, it acts as a glue between controller and view. Scopes are hierarchical in nature and follow the DOM structure of your angular app.

 

 

Author : Shailendra Chauhan
Posted On : 09 Sep 2014

In AngularJS, services are reusable singleton objects that are used to organize and share code across your app. They can be injected into controllers, filters, directives. AngularJS provides you three ways : service, factory and provider to create a service.

 

 

Author : Shailendra Chauhan
Posted On : 08 Sep 2014

AngularJS has a powerful data binding mechanism. When you do changes in a variable on the $scope object within your view, the $scope object auto-magically updates itself. Similarly, whenever the $scope object changes, the view updates itself with the new value. AngularJS handle data-binding mechanism with the help of three powerful functions: $watch(), $digest() and $apply().

 

 

Author : Shailendra Chauhan
Posted On : 08 Sep 2014

Dependency Injection (DI) is a software design pattern that allows you to remove hard coded dependencies between software components. It allows you to develop loosely coupled components by injecting dependencies either at compile time or run time.

 

 

 
 
SUBSCRIBE TO OUR YOUTUBE CHANNEL
 
 
 
LIKE US ON FACEBOOK
 
+