When using `success`or `fail` promise the View Resolve breaks $stateChange calling an `undefined`
When using
successorfailpromise the View Resolve breaks $stateChange calling anundefined