A modal directive and service for angular