Load settings $scope before children