Converted to using angularjs directly instead of meteorite module