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.
Merge pull request #1 from toddmotto/patch-1

Correct MainCtrl.resolve property