Correct MainCtrl.resolve property

Move outside the Controller rather than inside it on the `this` binding. Using `MainCtrl.resolve` is clearer of intentions as it's completely separate from the MainCtrl's body.