flushing out first controller and provider
adding methods to $scope object