changed run cmd from karma to tests
test finally works -- need to pass $scope to it
$ionicPlatform is a str
$scope variable name should be a str in array to prevent problems with dependency injection
platform data modified by ionic
tab-account and tab-dash removed
loginCtrlSpec cleaned up a bit
added a couple of providers
submit() makes a call to the server and fetches user data
added ngModels to inputs and formcalls submit() on LoginCtrl
js will handle errors and if successful save session id in localStorage
no need to not send an OPTIONS request as defined by CORS because the server is handling it
implemented $httpBackend test
added tests to indicate a user obj is created and that were saving a session id to localStorage
page now shows errors
removed unnecessary comments
ran ios build process
added $location to LoginCtrl
use $location.path() to redirect pages
Merge pull request #2 from brianyingling/login

Login