modify bookmark create method to work with angularjs