First attempt at using angularjs