Setting up states and routing

Conversion from CoffeeScript to plain JS.

Setting up of nested states and routing in the form of /:location/:business.

Addressing of Restangular's async loading with use of promises and $emitting events.