Which directives used for building the nested form in Angular are?
Question 1 Explanation:
The ng-form Directive in AngularJS is used to create the nested form nested means one form inside the other form. It also specifies the inherit control from the HTML form. It creates a control group inside a form directive which can be used to determine the validity of a sub-group of controls.
Which of the below directive in AngularJs is called the entry point of the application?
None of the above
Question 2 Explanation:
The ng-app Directive in AngularJS is used to define the root element of an AngularJS application. This directive automatically initializes the AngularJS application when the page loads. It can help to load various modules in AngularJS Application.
$dirty flag in Angular JS is used for?
State that the form has invalid data.
State that value has been changed.
Both of the above.
None of the above.
Question 3 Explanation:
The $dirty flag in Angular JS is used for the state that the form has invalid data. It also checks whether the Html form is dirty or after navigating the page user value is save or not.
Which jQuery function is used to bind the current context to the function?
Question 4 Explanation:
The angular. bind() function in jQuery is responsible for binding the current context of the function. but it executes after some time. This function is also used in Partial application, and It takes the three-parameter Self, function, and arguments.
The .subscribe in angular is used for?
Streams data synchronously
Streams data asynchronously
Both of the above
None of above
Question 5 Explanation:
The .scubsribe in angular, it is used for passing the observer object for notification purpose So the answer is Streams data synchronously and Streams data asynchronously,
For linking the angular to Html which directive is used?
None of the above
Question 6 Explanation:
The ng-app is directive is used to linking with Angular to HTML. It is used to define the root element of the angular Js application. In another word, it is also called the entry point of angular application.
Which of the below is an Invalid filter in AngularJs?
Question 7 Explanation:
The filter in angular is provide transformation of the data Email is an invalid filter in Angular JS the valid filter are JSON, limitTo, and order by.
Which of the below is the controller for the single parameter in Angular JS?
All of the above
Question 8 Explanation:
The scope is the controller for the single parameter in Angular JS. When you add properties into the scope object in the controller, only then does it get access to those properties. A scope is an inbuilt object and contains the application data.
How many numbers of $RootScope does in Angular Js?
Question 9 Explanation:
If the variables contain the same name in the rotoscope then the controller or the application will use the current scope. The one(1) number of $RootScope does in Angular Js.
Which directive is used to specify the custom behavior functions during the copy of the text in input text fields in jQuery are?
Question 10 Explanation:
The ng-copy directive is used to specify the custom behavior of function during the copy of text input filed of Html form. It is also used when we want to call a function that is triggered after the text is copied from the input field. The main advantage is that it is supported by all the input elements.
There are 15 questions to complete.
My Personal Notes arrow_drop_up