Skip to content

Conversation

luixaviles
Copy link
Contributor

I updated some templates and JavaScript code in order to use "Controller as" syntax and an alias instead of use $scope service which is suggested as a best practice for AngularJS.
Also, I updated some scripts with the use of single quotes instead of double quotes.

… and 'vm' alias instead of using $scope service. Using single quotes into some javascript examples.
@mgechev
Copy link
Owner

mgechev commented Mar 8, 2016

Good point, thanks! I'll review the PR tomorrow and merge.

@luixaviles
Copy link
Contributor Author

Hi @mgechev are you good with these changes?
If not, please let me know your comments.

mgechev added a commit that referenced this pull request Mar 14, 2016
Remove $scope service in favor of use the "Controller as" syntax in the examples
@mgechev mgechev merged commit 96ffbae into mgechev:master Mar 14, 2016
@mgechev
Copy link
Owner

mgechev commented Mar 14, 2016

Yes, sorry for the delay. Looks great! :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants