added $scope to the controller (to be removed soon).
added tests to the createaccountcontrollerspec