No need to call setCurrentLayer

setting scope.currentLayer is sufficient, setCurrentLayer is already
called in the $watch callback.