tangoclinh1995 / thehonorclub-mobileapp

The Honor Club's Mobile App Project for COMP 3111H
2 stars 1 forks source link

[Implementation] Tag standardization (Angular service) #35

Closed tangoclinh1995 closed 7 years ago

tangoclinh1995 commented 7 years ago

Hi @sleeplessclassics and @hpsuenaa, in case you need to work with skill tags, position tags, please use the Angular service $tagStandardizeHelper below to process user input of tags before adding them to Database:

https://github.com/tangoclinh1995/thehonorclub-mobileapp/blob/master/app/js_services/tagStandardizeHelper.service.js

You can use this service by injecting it to the controller/services you need to implement and make a function call like this:

standardize_tag = $tagStandardizeHelper(input_tag)

sleeplessclassics commented 7 years ago

Noted. Thanks a lot for the information