Skip to content

SEO-176939 Angularjs Control Improvement #262

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions angularjs/Overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Create a new HTML file and include the below code:

The ng-app directive explains the root element (<html> or <body> tags) of the application. You will assign a name to the ng-app directive, then you must create a module with that name. In this module, you will have to define your directives, services, filters and configurations.

A controller is defined using ng-controller directive. Each controller accepts an object $scope which we pass as a parameter. This object is used to bind the controller with view.
A controller is defined using ng-controller directive. Each controller accepts an object $scope which we pass as a parameter. This object is used to bind the controller with view.

All the Syncfusion widget’s control directives are prefixed with `ej-` to avoid conflict with other library directives and its properties are defined using `e-` prefix followed by the property name. The code example for defining controls in AngularJS is as follows,

Expand Down Expand Up @@ -347,7 +347,7 @@ In controller, you can get the reference to the `ej` widgets using the `ID` of p

{% endhighlight %}

N> Since the widgets rendered after the controller, we can’t access the widget object and their members like properties/methods inside controller. So we need to use callback functions or '$postLink' (in case of custom directives). For more information about component Life-cycle refer the [link](https://docs.angularjs.org/api/ng/service/$compile)
N> Since the widgets rendered after the controller, we can’t access the widget object and their members like properties/methods inside controller. So we need to use callback functions or '$postLink' (in case of custom directives). For more information about component Life-cycle refer the [link](https://docs.angularjs.org/api/ng/service/$compile)

## Widget Configuration in Controller

Expand Down