Angularjs is a popular framework to develop single page web applications
1) What is dependency Injection?
2) What are cookies, localstorage and sessionstorage and what are the basic differences between these?
Cookies and localstorage in angularjs is having the same behaviour but the localstorage is more convinient or comfortable to use in Angularjs as angularjs provided several functionality to use localstorage. and Cookies and localstorage persist until we delete them. Sessionstorage automatically gets deleted when we close the tab or window of the browser.3) How to share data between two or more controllers?
ng-bind is an One way Data binding where ng-model is a Two way Data binding10) What is the difference between $stateProvider and $routeProvider?