AngularJS API, Inputs, UI-Router