1
Is it possible to set directives as parameters of a Function already on the html page?
I tried to do serviceLogin({{login.user}},{{login.pass}})
but I don’t think it’s right
1
Is it possible to set directives as parameters of a Function already on the html page?
I tried to do serviceLogin({{login.user}},{{login.pass}})
but I don’t think it’s right
3
only a correction {{login.user}}
is not a directive, is an expression.
serviceLogin(login.user, login.pass)
that the angular will understand that you are referring to the variables present in the login object.
Browser other questions tagged javascript html angularjs function
You are not signed in. Login or sign up in order to post.