A friendly bootstrap modal plugin in angularjs