add possibility to run without angular.js