I follow this tutorial to create login using StrongLoop: http://docs.strongloop.com/display/DOC/AngularJS+JavaScript+SDK
Somehow I get this kind of error message on console browser:
TypeError: Object function Resource(value){
shallowClearAndCopy(value || {}, this);
} has no method 'login'
Is login method for user model? Or by another model like customer/agent? So, if you want to use login method on customer/agent model you must use model extend user. http://docs.strongloop.com/display/LB/Model+definition+reference#Modeldefinitionreference-Extendingamodel