*switching to angularJS