Updated modal.js to use ng-class

Instead of using the link function to add a watch that only changes the class list of the dimmer element. Just use ng-class to watch the model instead, then you do not need any code in your link function.

The modal directive didn't have any tests associated with it. I can certainly write some if you require.