Changed from jquery to angularjs, because it's awesome