398c52f3b0
$scope.challenge isn't resolved yet, so ._locked isn't set immediately. Well we could use $state.resolve instead of $state.controller, but it's just not resolving (ui-router not working with ng-resoure?)