Simple AngularJS approach to logging into Salesforce