Monday, February 27, 2017
Sunday, February 26, 2017
Angular JS 1 Quetions
$http
?$index
, $even
, $odd
, $first
, and $last
?angular.module('app' , [])
and angular.module('app')
.config()
and .run()
phase?$q.all()
?$scope.$on()
and how would you use it?$http
interceptors?"$locationChangeStart"
?$http
call?$templateCache
?$scope
?$rootScope
?"$destroy"
?.$watch()
?.$dirty
, .$pristine
, .$valid
, .$invalid
, and .$submitted
?$validators
and $asyncValidators
?scope
, $scope
, and $rootScope
??
,@
,=
,&
,*
in relation to directives$interpolate
?$compile
?$observe
?bindToController:
and controllerAs:
syntax?.$broadcast()
, and .$emit()
?$timeout()
and $interval()
and how do you cancel them?.$digest()
loop?.$digest()
and .$apply()
?$watchGroup
and $watchCollection
?$eval
, $parse
and $evalAsync
?$applyAsync
?$injector
/$scope
from the chrome console?$scope
injected when testing Angular controllers?_$rootScope_
?$http
service$http
request to a third party API such as Youtube?$httpBackend
and $httpBackend.flush
are used forangular.mock
is used forVisual Studio Code keyboard shortcut cheat sheet
Keyboard Shortcut
|
Action
|
ALT + CLICK
|
add additional cursor
|
ALT + F12
|
peek definition
|
ALT + F4
|
close window
|
ALT + LEFT
|
navigate between files
|
ALT + RIGHT
|
navigate between files
|
CTRL + /
|
split active editor
|
CTRL + `
|
cycle open editors
|
CTRL + =
|
zoom in
|
CTRL + -
|
zoom out
|
CTRL + 1
|
focus left editor
|
CTRL + 2
|
focus right editor
|
CTRL + ALT + ]
|
jump to matching bracket
|
CTRL + ALT + CLICK
|
open definition to side
|
CTRL + ALT + DOWN
|
add cursor below
|
CTRL + ALT + UP
|
add cursor up
|
CTRL + B
|
toggle sidebar
|
CTRL + CLICK
|
open file to side
|
CTRL + CLICK
|
go to definition
|
CTRL + E
|
go to file
|
CTRL + ENTER
|
open file to side
|
CTRL + F12
|
go to definition
|
CTRL + F2
|
add cursor to each occurrence of current word
|
CTRL + G
|
go to line
|
CTRL + SHIFT + D
|
debug
|
CTRL + SHIFT + E
|
explore
|
CTRL + SHIFT + F
|
search all files
|
CTRL + SHIFT + I
|
shows windows
|
CTRL + SHIFT + J
|
advanced search all files
|
CTRL + SHIFT + L
|
add cursor to each occurrence of current selected text
|
CTRL + SHIFT + M
|
list all current errors
|
CTRL + SHIFT + O
|
navigate to symbol
|
CTRL + SHIFT + P
|
open control pallet
|
CTRL + SHIFT + U
|
output
|
CTRL + SHIFT + W
|
close window
|
CTRL + SPACE
|
trigger IntelliSense
|
CTRL + T
|
jump to symbol across files
|
CTRL + TAB
|
cycle files
|
CTRL + W
|
close editor
|
F2
|
rename symbol
|
F11
|
full screen
|
SHIFT + F12
|
reference search
|
Subscribe to:
Posts (Atom)