refactor($compile): no need to use bind