Use AngularJS to add categories into the db.