Adding functions to sample-controller.js