Hi Guest 1 HomePage 1 Jobs 1 WalkIn 1Articles  

 :) Latest Topic
Numbers And Strings
Objects And Array
AngularJS VS JavaScript
Controllers in Files
Load the Library
AngularJS Directives
Repeating Directive
AngularJS Facts
Create Directives
Restrict Directive
Custom Filter
AngularJS Services
AngularJS Service 2
AngularJS Tables
Select Option
Select Option 2
AngularJS Forms
Form Validation
Validation CSS
Validation Example
AngularJS API
AngularJS $http
AngularJS Database
AngularJS HTML DOM
AngularJS Events
Custom Validation
AngularJS Tutorial
AngularJS Introduction
Angular init Directive
AngularJS Expressions 1
AngularJS Applications
AngularJS Expressions 2
Angular CSS Properties
AngularJS JSON
AngularJS Modules
Controller Basic
Add a Directive
Model Directive
Validate Inputs
CSS Classes
Data Binding
AngularJS Controller
AngularJS Scope
Root of Scope
AngularJS Filters
 


  

 
Load the Library
Question Posted on 08 Apr 2020

Home >> Tutorial >> AngularJS >> Load the Library


Load the Library
There is one theory that Global Functions should not be define in JavaScript because if we define Global function in JavaScript then is should be easily overwritten or destroyed by any other scripts. To overcome this types of issue AngularJS module reduces the problem by keeping all functions local to the module.

Now another topic which we define here is that when we load the library and where should we place the Script. It is very common in HTML applications to place scripts at the end of < body> elements. And we also recommended you to load the AngularJS library either in the or at the start of tag.

And reason could be because calls to angular.module can be compiled after the library has been loaded.


AngularJS Declartion





Other Important Questions
Numbers And Strings
Objects And Array
AngularJS VS JavaScript
Controllers in Files
Load the Library







 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |