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