Implemented module and interface like Sravya's application.
In this created $scope variable and functions in IMainCtrl.d.ts