Created
June 30, 2014 19:53
-
-
Save weslley39/45a23cf7d7fd42c1989e to your computer and use it in GitHub Desktop.
Call angular controller from outside
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var controller = angular.element('[ng-controller="CatController"]').scope(); | |
controller.CarregaEcfs(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment