Client side of a bookmarking service - Angularjs