Find Jobs
Hire Freelancers

Small hello world app that formats a date and uses a datetimepicker

$10-30 USD

Færdiggjort
Slået op cirka 7 år siden

$10-30 USD

Betales ved levering
I need a small hello world type angularjs application that has a form. The form contains a datetimepicker e.g. bootstrap datetimepicker. The datetime picker must use ng-model e.g. <input type="text" id="fmStartDate" class="form-control input-sm" datetimepicker ng-model="StartDate" placeholder="..." name="fmStartDate" required> When the app load the datetimepickers default value must be set. The input date/time is a string that has the following format "2015-11-03T09:00:00Z" The datetimepicker must display this date as DD-MM-YYYY hh:mm. That would be "03-11-2015 09:00" When a new date/time has been selected the datetimepicker must autoclose. The app can use a directive e.g. "use strict"; [login to view URL]("datetimepicker", []) .provider("datetimepicker", function () { var defaultOptions = { //format: 'DateFormat goes here' }; [login to view URL] = function (options) { defaultOptions = options; }; this.$get = function () { return { getOptions: function () { return defaultOptions; } }; }; }) .directive("datetimepicker", [ "$timeout", "datetimepicker", function ($timeout,datetimepicker) { var defaultOptions = [login to view URL](); return { require : "?ngModel", restrict: "AE", scope : { datetimepickerOptions: "@" }, link : function ($scope, $element, $attrs, ngModelCtrl) { var passedInOptions = $scope.$eval($[login to view URL]); var options = [login to view URL]({}, defaultOptions, passedInOptions); $element .on("[login to view URL]", function (e) { if (ngModelCtrl) { $timeout(function () { ngModelCtrl.$setViewValue([login to view URL]); }); } }) .datetimepicker(options); function setPickerValue() { var date = [login to view URL] || null; if (ngModelCtrl && ngModelCtrl.$viewValue) { date = ngModelCtrl.$viewValue; } $element .data("DateTimePicker") .date(date); } if (ngModelCtrl) { ngModelCtrl.$render = function () { setPickerValue(); }; } setPickerValue(); } }; } ]);
Projekt-ID: 13400152

Om projektet

3 forslag
Projekt på afstand
Aktiv 7 år siden

Leder du efter muligheder for at tjene penge?

Fordele ved budafgivning på Freelancer

Fastsæt dit budget og din tidsramme
Bliv betalt for dit arbejde
Oprids dit forslag
Det er gratis at skrive sig op og byde på jobs
Tildel til:
Brug Avatar.
i will do it right now Working NodeJs,Angularjs,Canvasjs,Chessjs,Underscorejs,Angular Meterial,Ionic framework etc. Develop Web Application, Mobile Application,UI layout with latest Technologies like Angularjs,HTML5,CSS3, Canvasjs Reporting, ionic framework, Jquery,JSON,WCF,Ms Sql Server, MVC or MVVM pattern ,Bootstrap,Asp.Net.
$25 USD på 1 dag
5,0 (20 anmeldelser)
4,4
4,4
3 freelancere byder i gennemsnit $25 USD på dette job
Brug Avatar.
Hello! my name is Viktor. We are IT Company «Webin». We provide website design and web and app development services for organizations, public and government institutions, company or private web-pages. We got acquainted with Your description of the task, our devs can start the work on Your website as soon as You need. We have gained years of experience and expertise working in CMS(Wordpress, Drupal, OpenCart, MoDx), Mockup Designs, Template Customizations, PHP, php-frameworks(Yii/Yii2,laravel), Software Architecture, JavaScript, jQuery, HTML5, CSS3 and Responsive. Our team specialized on developing from the simplest website to the most complex web-based internet applications, electronic businesses, corporate portals and social network services. Now, we are ready to start working on your project. However, we are looking forward to hear from you the detailed descriptions of the task. We are glad to chat with You and discuss all in details. Contact us and we will reply immediately. Waiting for Your reply! With regards, Webin team
$26 USD på 1 dag
4,4 (3 anmeldelser)
4,1
4,1

Om klienten

Flag for DENMARK
Esbjerg V, Denmark
5,0
14
Betalingsmetode verificeret
Medlem siden aug. 27, 2012

Klientverificering

Tak! Vi har sendt dig en e-mail med et link, så du kan modtage din kredit.
Noget gik galt, da vi forsøgte at sende din mail. Prøv venligst igen.
Registrerede brugere Oprettede jobs i alt
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Indlæser forhåndsvisning
Geolokalisering er tilladt.
Din session er udløbet, og du er blevet logget ud. Log venligst ind igen.