With angularjs first attempt.