switching to angular js
'