I have a problem with AngularJS.
I have a working sample as this :
http://jsfiddle.net/IgorMinar/Hxbqd/5/
And I would like to modify it to directly call at my connectControl function as this:
The only slight change between them is:
$scope.registerWithFacebook();
Why is not this one working? Or What I have to do make it work?
Thanks