You are on page 1of 1

Your project uses angular 1.2.26.

However you would like to override this version


for specific needs with angular 1.3. Which option in the bower.json file allows you
to use to do so? - "angular": "angularjs#~1.2.26"

Where are the added dependencies stored by bower? - bower_components

You have added a new dependency some time in the middle of the project. How do you
get this new dependency shared across with everyone in the team - Use --save
option. The dependency gets added to the .json file which can be distributed to
others

Can multiple dependencies be installed or uninstalled? - Yes

How do you get the latest version of the dependencies as per the json file
installed? - Execute bower update

You are trying to install a particular jQuery version 1.9.15 using bower install
angular. What happens to the installation? ( Hint - jQuery 1.9.15 is not a valid
version ) - Installs closest version

Is Git essential for installing Bower? - Yes

What happens if the following is executed?


'bower install jquery --save-dev' - Will install jquery and add to bower.json
Devdependencies

Bower can be used as a package manager for both server side and client side
applications. - false

When the dependencies are added through bower, how do you refer them in your HTML /
CSS etc. code? - Execute 'bower list -path' and pick the path of the dependencies
for inclusion

When does bower.json get created? - bower.init

Your bower.json file shows the dependency as "angular": "angularjs#~1.2.26"


Assuming you have ONLY following 5 valid versions available for angular, what would
be the latest version that gets installed when you execute "bower update"? Angular
1.0.8, Angular 1.2.9, Angular 1.6.2, Angular 1.5.11, Angular 1.3.3 - 1.2.9

-------------

You might also like