Angular expressions, like the code that goes {{here}} or ng-click="here" isn't
evaluated in the same context as regular JavaScript code. In your case I
think "window" is not defined and because Angular is forgiving of
ReferenceErrors when evaluating expressions you never see an error
generated. See the docs here: https://docs.angularjs.org/guide/expression

Also, If you stick with the "a" tag you may want to use ngHref instead of
href: https://docs.angularjs.org/api/ng/directive/ngHref




----------------------------------------------------------------
jrussell.me


On Thu, Jul 24, 2014 at 7:07 PM, Cory Svensson <[email protected]>
wrote:

> Alas, the source:
>
>
>> https://github.com/Red-Beard/angularjs-simple-salesforce-portal
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "AngularJS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to