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 : 10 Feb 2015

Today, AngularJS is most popular JavaScript framework to develop single page application. If you are using Visual studio as an IDE for developing your app in angularjs, intellisense support for angularjs help you a lot to develop your application. By default, Visual Studio 2013 doesn't provide better intellisense support while writing AngularJS code.

 

 

Author : Shailendra Chauhan
Posted On : 30 Dec 2014

The ng-repeat directive has a set of special variables which you are useful while iterating the collection. These variables are as follows:

 

 

Author : Shailendra Chauhan
Posted On : 30 Dec 2014

AngularJS provides you ng-if, ng-switch directives to display HTML elements based on conditions or cases. ng-repeat directive is used to generate HTML from a collection of items.

 

 

Author : Shailendra Chauhan
Posted On : 30 Dec 2014

Angular uses $watch APIs to observe model changes on the scope. Angular registered watchers for each variable on scope to observe the change in its value. If the value, of variable on scope is changed then the view gets updated automatically. $watch APIs has following methods to observe model changes on the scope.

 

 

Author : Shailendra Chauhan
Posted On : 30 Dec 2014

AngularJS provides ngCookies module for reading and writing browser cookies. To use it include the angular-cookies.js file and set ngCookies as a dependency in your angular app. This module provides two services for cookie management: $cookies and $cookieStore.

 

 

Author : Shailendra Chauhan
Posted On : 29 Dec 2014

AngularJS provides $on, $emit, and $broadcast services for event-based communication between controllers.

 

 

Author : Shailendra Chauhan
Posted On : 29 Dec 2014

The digest loop is responsible to update DOM elements with the changes made to the model as well as executing any registered watcher functions.

 

 

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.

 

 

 
 
3 APR
Master Class Fast Track MVC 5 with Angular2 Development (Online)

10:30 AM -03:30 PM IST (Fast Track)

Know More
25 MAR
MEAN Stack 2 Development (Classroom)

11:00 AM-12:30 PM

Know More
25 MAR
ASP.NET MVC with Angular2 Development (Classroom)

3:00 PM-4:30 PM

Know More
25 MAR
Xamarin Forms : Build Cross-platform Apps (Classroom)

8:00 AM-9:30AM

Know More
21 MAR
ASP.NET MVC with Angular2 Development (Online)

09:00 PM - 11:00 PM IST( TUS, THR, SAT)

6 MAR
ASP.NET MVC with Angular2 Development (Online)

07:00 AM - 09:00 AM IST( MON, WED, FRI)

25 FEB
ASP.NET MVC with Angular2 Development (Classroom)

05:00 PM-06:30 PM

31 JAN
ASP.NET MVC with Angular2 Development (Online)

07:00 AM-09:00 AM IST(Tuesday & Thursday)

30 JAN
NODEJS & MEAN Stack 2.x Development (Online)

09:00 PM-11:00 PM IST( MON, WED, FRI)

31 DEC
ASP.NET MVC with AngularJS Development (Classroom)

09:30 AM-11:00 AM

BROWSE BY CATEGORY
 
 
LIKE US ON FACEBOOK
 

Professional Speaks

+