You are an owner of a small sea cargo company. Everyday, you check the weather reports to make sure that the conditions allow your fleet to depart from the port. It is very tiring and you decide to create a simple application that will allow you to automatically check the weather conditions and report to the boat.
The local weather monitoring station provides a very simple API with an example how to use it so you don't have to worry about the data.
Furthermore, you plan to share your application with others, so you need to create it as a directive accepting a custom reporting function and a conditions message. The captain of each vessel should also be able to set their boat type, because some vessels are not able to withstand heavy rain or wind.
shipSenderdirective in port.js:
customCheck(with boat model and currentConditions passed as parameters)
npm install bower install
To run jshint:
To run e2e tests in development mode:
To run jshint, tests and coverage: