An angularJS modal directive & service