A Pen by Deepankar Bajpeyi on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define MA_DEBUG_OUTPUT | |
#define MINIAUDIO_IMPLEMENTATION | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include "minaudio/miniaudio.h" | |
#define ERROR_ARGS 1 | |
#define ERROR_DECODER_INIT 2 | |
#define ERROR_DEVICE_INIT 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
appDirective.directive('timePicker',function(){ | |
return { | |
restrict : 'E', | |
require: ['ngModel'], | |
scope :{ | |
ngModel: '=' | |
}, | |
replace: true, | |
template: | |
'<div class="input-group bootstrap-timepicker">' + |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var appDirective = angular.module('directives',[]); | |
appDirective.directive('datePicker', function() { | |
return { | |
restrict: 'E', | |
require: ['ngModel'], | |
scope: { | |
ngModel: '=' | |
}, | |
replace: true, |