docs: example for angularjs