Hi friend after lots of discussion about AngularJS today we will discuss the core concepts of AngularJS. First we decide the agenda of discussion
1. What is AngularJS?
2. How web browser works?
3. How AngularJS extends the browser?
We move ahead and start with the first point- "What is AngularJS?"
AngularJS is an extensive framework and it includes some inbuilt performance enhancements that makes it easy for web developers to use it with minimal or no problems. However, these enhancements are not able to fix all the issues you could face when you are developing some apps. Many web developers are unaware of some of the key concepts that AngularJS can perform so well. Others do not understand these key concepts at all. This may make it possible for one to create a sluggish code even though the framework is capable of performing faster and better.
Today we will discuss about the importance of config() and run() block in AngularJS application. So, now move ahead and start discussion in sequence and first take config() block.
Hi friends, Events are so popular concepts in every programming language. In AngularJS we have also some events which help us to communicate between different Controllers.
We have the following events in our AngularJS:
$on: It helps us to listen the $broadcast & $emit events in AngularJS.
$broadcast: It helps us to dispatches the event downwards to all child scopes
29 May 2015
Hi, today I'd like to discuss about "How AngularJS framework work with two-way binding"? AngularJS works with three main $scope level function $watch(), $digest() and $apply(). If we want to understand, what is AngulaJS? We should know the work of these functions. These function are core functions or we can say heart of AngularJS. Or we can say these are three Pillars of AngularJS.
Some days before I gone through this requirement where I need to configure my current project from "Web essentials" to "Gulp". These two setting are to use "Bundling and minification". We will elaborate these concept in coming blog.
If we talk about "Gulp" we have an important question here:
What is Gulp & how it’s work?
Today we will discuss that how we can use the SweetAlert message in AngularJS. There are some pre-request files need to use this functionality.
We can downlaod & install thses file with multiple way :
2. Install through bower: $ bower install sweetalert
3. Install through NPM: $ npm install sweetalert
- ng-app :- It is start point of AngularJS application. We defined this on start point and pass the module name with this.
- ng-init :- It is use to initialize the data on application start.
- ng-controller :- It is use to coupled view with controller.
AngularJS has two types of binding
a.) One way binding
b.) Two way binding
In AngularJS different way to bind value in view: