Update modalService.js

Make controller safe for minification.
Merge pull request #10 from lacmyers/patch-1

Update modalService.js