float-button This is my first directive for AngularJS How To Use Declare it as dependency in your app: angular.module('myApp', ['floatButton']); In the page you have to use like this: <float-button href="#/new-message" icon="ion-compose"></float-button> license MIT License