finished 405 angularjs after refactor via factory

finished 405 angularjs after refactor via factory #129