angularJS controller made
added modal, but isn't quite working