Use /api/law to implement TypeaheadCtrl