Skip to content

salmanub/bookstore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bookstore (AngularJs, Bootstrap)

AngularJS app using directives.

Front-app test image:

Front app

You not only can select books by genre but also, delete, update and create new books. If any parameter is missing, the app won't let you add a new blank item.

The genres, also provide user with interaction to list and modify them and delete specific item by $index provided.

Directives are camel-case for 'listBooks' we tag as

<list-books></list-books>

Make sure the ng-click binded functions get the correct variables. So, the controllers can do a proper job.

<input type="text" class="form-control" id="genre" placeholder="Genre" ng-model="genre.name">
			
<button type="submit" class="btn btn-default" ng-click="addGenre($event, genre.name)">Add genre</button>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published