started using some coffee script language features, switched to injecting routeParams in main controller (since the object gets updated)