(Angular)Interval templated in order to support all float types