Extracted some functions from search controller in libraryController.js
Extracted some functions from search controller in libraryController.js

TelerikFrenchConnection/JS-Applications-Teamwork,TelerikFrenchConnection/JS-Applications-Teamwork,TelerikFrenchConnection/JS-Applications-Teamwork,TelerikFrenchConnection/JS-Applications-Teamwork,TelerikFrenchConnection/JS-Applications-Teamwork